<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MeshGui::DlgSettingsMeshView</class>
 <widget class="QWidget" name="MeshGui::DlgSettingsMeshView">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>559</width>
    <height>396</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Mesh view</string>
  </property>
  <layout class="QGridLayout">
   <property name="leftMargin">
    <number>9</number>
   </property>
   <property name="topMargin">
    <number>9</number>
   </property>
   <property name="rightMargin">
    <number>9</number>
   </property>
   <property name="bottomMargin">
    <number>9</number>
   </property>
   <property name="spacing">
    <number>6</number>
   </property>
   <item row="0" column="0">
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
      <string>Default appearance for new meshes</string>
     </property>
     <layout class="QGridLayout">
      <property name="leftMargin">
       <number>9</number>
      </property>
      <property name="topMargin">
       <number>9</number>
      </property>
      <property name="rightMargin">
       <number>9</number>
      </property>
      <property name="bottomMargin">
       <number>9</number>
      </property>
      <property name="spacing">
       <number>6</number>
      </property>
      <item row="0" column="0">
       <layout class="QGridLayout">
        <property name="leftMargin">
         <number>0</number>
        </property>
        <property name="topMargin">
         <number>0</number>
        </property>
        <property name="rightMargin">
         <number>0</number>
        </property>
        <property name="bottomMargin">
         <number>0</number>
        </property>
        <property name="spacing">
         <number>6</number>
        </property>
        <item row="0" column="0">
         <widget class="QLabel" name="labelFaceColor">
          <property name="text">
           <string>Default mesh color</string>
          </property>
         </widget>
        </item>
        <item row="0" column="1">
         <widget class="Gui::PrefColorButton" name="buttonMeshColor">
          <property name="toolTip">
           <string>Default color for new meshes</string>
          </property>
          <property name="color">
           <color>
            <red>204</red>
            <green>204</green>
            <blue>204</blue>
           </color>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>MeshColor</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Mesh</cstring>
          </property>
         </widget>
        </item>
        <item row="0" column="2">
         <spacer>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::Maximum</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>41</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item row="0" column="3">
         <widget class="QLabel" name="labelMeshTransparency">
          <property name="text">
           <string>Mesh transparency</string>
          </property>
         </widget>
        </item>
        <item row="0" column="4">
         <widget class="Gui::PrefSpinBox" name="spinMeshTransparency">
          <property name="suffix">
           <string notr="true">%</string>
          </property>
          <property name="maximum">
           <number>100</number>
          </property>
          <property name="singleStep">
           <number>5</number>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>MeshTransparency</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Mesh</cstring>
          </property>
         </widget>
        </item>
        <item row="1" column="0">
         <widget class="QLabel" name="labelLineColor">
          <property name="text">
           <string>Default line color</string>
          </property>
         </widget>
        </item>
        <item row="1" column="1">
         <widget class="Gui::PrefColorButton" name="buttonLineColor">
          <property name="toolTip">
           <string>Default line color for new meshes</string>
          </property>
          <property name="color">
           <color>
            <red>0</red>
            <green>0</green>
            <blue>0</blue>
           </color>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>LineColor</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Mesh</cstring>
          </property>
         </widget>
        </item>
        <item row="1" column="2">
         <spacer>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::Maximum</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>41</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item row="1" column="3">
         <widget class="QLabel" name="labelLineTransparency">
          <property name="text">
           <string>Line transparency</string>
          </property>
         </widget>
        </item>
        <item row="1" column="4">
         <widget class="Gui::PrefSpinBox" name="spinLineTransparency">
          <property name="suffix">
           <string notr="true">%</string>
          </property>
          <property name="maximum">
           <number>100</number>
          </property>
          <property name="singleStep">
           <number>5</number>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>LineTransparency</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Mesh</cstring>
          </property>
         </widget>
        </item>
        <item row="2" column="0">
         <widget class="QLabel" name="labelBackfaceColor">
          <property name="text">
           <string>Backface color</string>
          </property>
         </widget>
        </item>
        <item row="2" column="1">
         <widget class="Gui::PrefColorButton" name="buttonBackfaceColor">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="color">
           <color>
            <red>204</red>
            <green>204</green>
            <blue>204</blue>
           </color>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>BackfaceColor</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Mesh</cstring>
          </property>
         </widget>
        </item>
        <item row="2" column="2" colspan="3">
         <spacer>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>191</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item row="3" column="0">
         <widget class="Gui::PrefCheckBox" name="checkboxRendering">
          <property name="toolTip">
           <string>The bottom side of surface will be rendered the same way than top side.
If not checked, it depends on the option &quot;Enable backlight color&quot;
(preferences section Display -&gt; 3D View). Either the backlight color
will be used or black.</string>
          </property>
          <property name="text">
           <string>Two-side rendering</string>
          </property>
          <property name="checked">
           <bool>false</bool>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>TwoSideRendering</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Mesh</cstring>
          </property>
         </widget>
        </item>
        <item row="3" column="1" colspan="4">
         <widget class="Gui::PrefCheckBox" name="checkboxBoundbox">
          <property name="toolTip">
           <string>A bounding box will be displayed</string>
          </property>
          <property name="text">
           <string>Show bounding-box for highlighted or selected meshes</string>
          </property>
          <property name="checked">
           <bool>false</bool>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>ShowBoundingBox</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Mod/Mesh</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="0" column="1">
       <spacer>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Maximum</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>71</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
     </layout>
    </widget>
   </item>
   <item row="1" column="0">
    <widget class="QGroupBox" name="GroupBox12">
     <property name="title">
      <string>Smoothing</string>
     </property>
     <layout class="QGridLayout">
      <property name="leftMargin">
       <number>9</number>
      </property>
      <property name="topMargin">
       <number>9</number>
      </property>
      <property name="rightMargin">
       <number>9</number>
      </property>
      <property name="bottomMargin">
       <number>9</number>
      </property>
      <property name="spacing">
       <number>6</number>
      </property>
      <item row="0" column="0">
       <widget class="Gui::PrefCheckBox" name="checkboxNormal">
        <property name="toolTip">
         <string>If this option is set Phong shading is used, otherwise flat shading.
Shading defines the appearance of surfaces.

With flat shading the surface normals are not defined per vertex that leads
to a unreal appearance for curved surfaces while using Phong shading leads
to a smoother appearance.
</string>
        </property>
        <property name="text">
         <string>Define normal per vertex</string>
        </property>
        <property name="prefEntry" stdset="0">
         <cstring>VertexPerNormals</cstring>
        </property>
        <property name="prefPath" stdset="0">
         <cstring>Mod/Mesh</cstring>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="QLabel" name="labelAngle">
        <property name="toolTip">
         <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;This is the smallest angle between two faces where normals get calculated to do flat shading.&lt;/p&gt;&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;If the angle between the normals of two neighbouring faces is less than the crease angle, the faces will be smoothshaded around their common edge.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
        </property>
        <property name="text">
         <string>Crease angle</string>
        </property>
       </widget>
      </item>
      <item row="1" column="1">
       <widget class="Gui::PrefDoubleSpinBox" name="spinboxAngle">
        <property name="enabled">
         <bool>false</bool>
        </property>
        <property name="toolTip">
         <string>Crease angle is a threshold angle between two faces.

 If face angle ≥ crease angle, facet shading is used
 If face angle &lt; crease angle, smooth shading is used</string>
        </property>
        <property name="suffix">
         <string notr="true"> °</string>
        </property>
        <property name="maximum">
         <double>180.000000000000000</double>
        </property>
        <property name="prefEntry" stdset="0">
         <cstring>CreaseAngle</cstring>
        </property>
        <property name="prefPath" stdset="0">
         <cstring>Mod/Mesh</cstring>
        </property>
       </widget>
      </item>
      <item row="1" column="2">
       <spacer>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>221</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="2" column="0" colspan="3">
       <widget class="QLabel" name="labelHint">
        <property name="text">
         <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; white-space: pre-wrap; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Hint&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;Defining the normals per vertex is also called &lt;span style=&quot; font-style:italic;&quot;&gt;Phong shading&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt; font-style:italic;&quot;&gt;&lt;span style=&quot; font-style:normal;&quot;&gt;while defining the normals per face is called &lt;/span&gt;Flat shading&lt;span style=&quot; font-style:normal;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="2" column="0">
    <spacer>
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>541</width>
       <height>41</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>Gui::ColorButton</class>
   <extends>QPushButton</extends>
   <header>Gui/Widgets.h</header>
  </customwidget>
  <customwidget>
   <class>Gui::PrefSpinBox</class>
   <extends>QSpinBox</extends>
   <header>Gui/PrefWidgets.h</header>
  </customwidget>
  <customwidget>
   <class>Gui::PrefColorButton</class>
   <extends>Gui::ColorButton</extends>
   <header>Gui/PrefWidgets.h</header>
  </customwidget>
  <customwidget>
   <class>Gui::PrefCheckBox</class>
   <extends>QCheckBox</extends>
   <header>Gui/PrefWidgets.h</header>
  </customwidget>
  <customwidget>
   <class>Gui::PrefDoubleSpinBox</class>
   <extends>QDoubleSpinBox</extends>
   <header>Gui/PrefWidgets.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>buttonMeshColor</tabstop>
  <tabstop>buttonLineColor</tabstop>
  <tabstop>buttonBackfaceColor</tabstop>
  <tabstop>spinMeshTransparency</tabstop>
  <tabstop>spinLineTransparency</tabstop>
  <tabstop>checkboxRendering</tabstop>
  <tabstop>checkboxBoundbox</tabstop>
  <tabstop>checkboxNormal</tabstop>
  <tabstop>spinboxAngle</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>checkboxNormal</sender>
   <signal>toggled(bool)</signal>
   <receiver>spinboxAngle</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>110</x>
     <y>147</y>
    </hint>
    <hint type="destinationlabel">
     <x>266</x>
     <y>181</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>checkboxRendering</sender>
   <signal>toggled(bool)</signal>
   <receiver>buttonBackfaceColor</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>93</x>
     <y>53</y>
    </hint>
    <hint type="destinationlabel">
     <x>210</x>
     <y>71</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
